var colors = {};
var getColorBySoc = function(adcode){
    if(adcode){
        if(!colors[adcode]){
            if(adcode===110000){
                return null;
            }
            return '#033447'
            // return '#FFFFFF'
        }
    }else{
        return null
    }
};
var disCountry = new AMap.DistrictLayer.Country({
    zIndex:19,
    SOC:'CHN',
    depth:1,
    styles:{
        'fill':function(props){
            return getColorBySoc(props.adcode_pro)
        }
    }
});
map.add(disCountry);